<?php echo $this->partial("sidebar.phtml", array('type' => 'product', 'subtype' => 'all', 'category' => $this->catdata, 'search_text' => $this->search_text, 'params' => $this->params)); ?>
<?php
    $filterdata = $this->getHelper('Categoryfilter')->getFilters();
    //prd($filterdata);
?>
<div class="submenu-filter vertical-scroller">
    <div class="submenu-blocks"> 
        <?php
            foreach ($filterdata['subcat'] as $filterKey => $filterVal)
            {
                ?>
                <p class="heading"><img class="dropdown-arrow" src="<?php echo IMAGES_PATH ?>/dropdown-arr.png"> <?php echo $filterVal['cat_name'] ?></p>
                <ul class="submenu-items">
                    <?php
                    foreach ($filterVal['childsub'] as $subKey => $subVal)
                    {
                        ?>
                        <li><a  class="<?php echo $this->params['sc'] == $subVal['schild_id'] ? 'active' : ''; ?>" href="<?php echo $this->url() . '?' . addQueryString('sc', $subVal['schild_id']); ?>"><?php echo $subVal['schild_name']; ?></a></li>
                        <?php
                    }
                    ?>
                </ul>
                <?php
            }
        ?>
        </ul>
    </div>
</div>

<div class="products-scroller trends-grid-block" style="color:#000;padding:0;">
    <div class="isotope-featured" style="float:left;width:420px;height:100%;padding:5px 0;">
        <div class="featured-product-slider flexslider product-grid">
            <ul class="slides">
                                <li style="position:relative;">
                                    <img src="<?php echo IMAGES_PATH ?>/slider/shop_page_image1.jpg">
                                    <div class="content">
                                        Free Shipping<br>
                                        On All Order<br>
                                        Over $85
                                        <!--<button class="btn btn-checkout-1">$129.00</button>-->
                                    </div>
                                </li>
                                <li class="orange-bg" style="background-color:#dc4a02;">
                                    <img src="<?php echo IMAGES_PATH ?>/slider/shop_page_image2.jpg" />
                                    <div class="content">
                                        Nasty Gal See No Evil Romper<br>
                                        <button class="btn btn-checkout-1">$129.00</button>
                                    </div>
                                </li>
                <?php
//                    foreach ($this->sliderData as $sliderKey => $sliderVal)
//                    {
//                        ?>
<!--                        <li>
                            <a href="//<?php echo $sliderVal['slider_link']; ?>>"><img src="<?php echo IMAGES_PATH ?>/slider/<?php echo $sliderVal['slider_image']; ?>" /></a>
                        </li>-->
                        <?php
//                    }
                ?>
            </ul>
        </div>
        <?php
            //foreach ($this->featureddata as $fKey => $fVal)
            {
                ?>
                <div class="featured-product-small product-grid">
<!--                    <div class="product-details" style="background:url('<?php echo PRODUCTS_PATH . "/" . $fVal['images']; ?>') no-repeat scroll center 30% rgba(0, 0, 0, 0);background-size:100% 100%;">
                        <p class="text-right">$<?php echo $fVal['price']; ?></p>

                        <div class="product-desc">
                            <p class='product-title'><a href='<?php echo APPLICATION_URL ?>/product/index/product_id/<?php echo $fVal['rkn_prod_id']; ?>'><?php echo $fVal['prod_name']; ?></a></p>
                            <p class='category'><a href='#'><?php echo $fVal['cat_name']; ?></a> | <a href='#'>Footwear</a></p>
                        </div>
                    </div>
                    <div class="social-details">
                        <p class="pull-left">2 Likes</p>
                        <p class="pull-right">4 Shares</p>
                    </div>
                    <a class="btn btn-checkout-1 quick-view colorbox-href" href="<?php echo APPLICATION_URL ?>/product/detail/product_id/<?php echo $fVal['rkn_prod_id']; ?>">QUICK VIEW</a>-->
                    <img src="<?php echo IMAGES_PATH ?>/shop_page_banner.jpg"  style="width:415px; height:100%; max-width:100%;">
                </div>
                <?php
            }
        ?>
    </div>
    <div class="isotope trends-grid-block products-grid-block" style="float:left;margin-left:0 !important;padding-left: 0px ! important; position: relative; width: auto;">
        <?php echo $this->partial("product_blocks.phtml", array("alldata" => $this->alldata,'connect'=>'off')); ?>
    </div>
</div>